package com.hmsg.health.exception;


import com.hmsg.health.bean.enums.StatusCode;
import com.thoughtworks.xstream.core.BaseException;

/**
 * @Author Tareva on 2018/8/14.
 * @Description TODO
 */
public class RequestParamDecodeError extends BaseException {

    private static final long serialVersionUID = 3428250896354652638L;

    private StatusCode statusCode;

    public RequestParamDecodeError(StatusCode statusCode) {
        super(statusCode.getMessage());
        this.statusCode = statusCode;
    }

    public StatusCode getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(StatusCode statusCode) {
        this.statusCode = statusCode;
    }
}
